<%--
  Created by IntelliJ IDEA.
  User: e575
  Date: 2019/5/24
  Time: 9:08
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@page isELIgnored="false" %>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="author" content="order by dede58.com"/>
    <title>个人信息</title>
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="format-detection" content="telephone=no">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/layui/css/layui.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/bootstrap/css/bootstrap.css"
          media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/common/global.css" media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/personal.css" media="all">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/fenye.css">
</head>
<body>
<section class="layui-larry-box">
    <div class="larry-personal">
        <div class="layui-tab">
            <blockquote class="layui-elem-quote news_search">
                <div class="layui-inline">
                    <a class="layui-btn layui-btn-normal" href="/pactext/toadd?pid=${pid}">添加合同文件</a>
                </div>
                <div class="layui-inline">
                    <div class="layui-form-mid layui-word-aux">本页面刷新后除新添加的文章外所有操作无效，关闭页面所有数据重置</div>
                </div>
            </blockquote>

            <!-- 操作日志 -->
            <div class="layui-form news_list">
                <form action="">
                    <table class="layui-table">
                        <colgroup>
                            <col width="20%">
                            <col width="9%">
                            <col width="9%">
                            <col width="9%">
                            <col width="9%">
                            <col width="9%">
                            <col width="10%">
                        </colgroup>
                        <thead>
                        <tr>
                            <th><input name="" lay-skin="primary" lay-filter="allChoose" id="allChoose" type="checkbox">
                                <div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i
                                        class="layui-icon"></i>
                                </div>
                                <input type="submit" value="批量删除" class="layui-btn layui-btn-danger "/>
                            </th>
                            <th>序号</th>
                            <th>编号</th>
                            <th>名称</th>
                            <th>类型</th>
                            <th>下载地址</th>
                            <th>文件模板</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody class="news_content">
                        <c:forEach items="${pa.pl}" var="li">
                            <tr>
                                <td><input name="ids" value="${li.id}" lay-skin="primary" lay-filter="choose"
                                           type="checkbox">
                                    <div class="layui-unselect layui-form-checkbox" lay-skin="primary"><i
                                            class="layui-icon"></i></div>
                                </td>
                                <td>${li.id}</td>
                                <td>${li.cno}</td>
                                <td>${li.cname}</td>
                                <td>${li.ctname}</td>
                                <td><a href="/pactext/xz?filename=${li.cpath}&pid=${li.pactypeId}">
                                        ${li.cpath}
                                </a>
                                </td>
                                <td>${li.cdesc}</td>
                                <td>
                                    <a href="/pactext/toupdate?id=${li.id}" class="layui-btn layui-btn-mini"><i
                                            class="iconfont icon-edit"></i> 编辑</a>
                                    <a href="/pactext/delete?id=${li.id}&pid=${li.pactypeId}"
                                       class="layui-btn layui-btn-danger layui-btn-mini" data-id="1"><i
                                            class="layui-icon"></i> 删除</a>
                                </td>
                            </tr>
                        </c:forEach>
                        </tbody>
                    </table>
                </form>
            </div>
            <!-- 登录日志 -->
            <div class="layui-tab-item layui-field-box">
                <table class="layui-table table-hover" lay-even="" lay-skin="nob">
                    <thead>
                    <tr>
                        <th><input type="checkbox" id="selected-all"></th>
                        <th>ID</th>
                        <th>管理员账号</th>
                        <th>状态</th>
                        <th>最后登录时间</th>
                        <th>上次登录IP</th>
                        <th>登录IP</th>
                        <th>IP所在位置</th>
                    </tr>
                    </thead>
                    <tbody>
                    <tr>
                        <td><input type="checkbox"></td>
                        <td>110</td>
                        <td>admin</td>
                        <td>后台登录成功</td>
                        <td>2016-12-19 14:26:03</td>
                        <td>127.0.0.1</td>
                        <td>127.0.0.1</td>
                        <td>Unknown</td>
                    </tr>
                    </tbody>
                </table>
                <div class="larry-table-page clearfix">
                    <a href="javascript:;" class="layui-btn layui-btn-small"><i
                            class="iconfont icon-shanchu1"></i>删除</a>
                    <div id="page2" class="page"></div>
                </div>
            </div>
        </div>
    </div>
    <div class="div">
        <a class="a layui-btn layui-btn-normal layui-btn-mini" href="/pactext/list?currentPage=1&pid=${pid}">首页</a>
        <a class="a layui-btn layui-btn-normal layui-btn-mini"
           href="/pactext/list?currentPage=${pa.currentPage-1<=0?1:pa.currentPage-1}&pid=${pid}">上一页</a>
        <a class="a layui-btn layui-btn-normal layui-btn-mini"
           href="/pactext/list?currentPage=${pa.currentPage+1>=pa.totalPage?pa.totalPage:pa.currentPage+1}&pid=${pid}">下一页</a>
        <a class="a layui-btn layui-btn-normal layui-btn-mini"
           href="/pactext/list?currentPage=${pa.totalPage}&pid=${pid}">尾页</a>
        <form class="font" action="/pactext/list">
            <input type="text" name="pid" value="${pid}" hidden>
            跳转到第<input class="input" type="text" name="currentPage"/>页
            <input class="a layui-btn layui-btn-mini" type="submit" value="查询"/>
        </form>
    </div>
</section>
<script type="text/javascript" src="${pageContext.request.contextPath}/common/layui/layui.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/newslist.js"></script>
<script type="text/javascript">
</script>
</body>
</html>
